package com.chengqj.blogweb.blog.service;

import com.chengqj.blogweb.blog.repo.pojo.TBlog;
import com.chengqj.blogweb.blog.repo.pojo.TBlogPhoto;
import com.chengqj.blogweb.blog.repo.pojo.TBlogRecommend;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBlogService {
    PageInfo<TBlog> selectBlogCriterion(String type, int pageNum, int pageSize);

    List<TBlogRecommend> selectRecommendAll();

    TBlog selectBlogById(int id);

    PageInfo<TBlogPhoto> selectBlogPhotoByType(String type, int pageNum, int pageSize);

}
